MKBOM

Section: Maintenance Commands (8)
Updated: January 5, 1993
Index Return to Main Contents
 

NAME

mkbom - Create or modify a bill of materials  

SYNOPSIS

mkbom sourcefilelist ] bomfile  

DESCRIPTION

Mkbom creates or updates an existing bill-of-materials file (see bom(5)). If source is a directory, mkbom generates bill-of-materials information for that directory and adds it to bomfile; if source is a bill-of-materials file, mkbom adds its information to bomfile. If bomfile already exists, the new entries are added without deleting bomfile's old contents; however, a reference that is in both source and bomfile is replaced with the version from source.

A filelist may be supplied to request that only a subset of the files in source be transferred into bomfile. Filelist should be a text file containing the paths of the entries to transfer, one per line. The paths should be specified relative to the root of source.

The presence of a particular file in filelist implicitly selects all of its parent directories; however, children of directories listed in filelist are not copied unless explicitly listed.

For example, if a text file named myfiles contains

       ./lib/tmac/tmac.e

       ./lib/tmac/tmac.r

       ./lib/term

the command

       mkbom /usr myfiles /tmp/newbom.bom

generates a BOM containing reference for the files ./lib/tmac/tmac.e and ./lib/tmac/tmac.r, and the directories ., ./lib, ./term, and ./lib/tmac.  

FILES

/usr/lib/NextStep/BaseSystem.bom - BOM for the non-optional parts of NEXTSTEP

/NextLibrary/Receipts/*.pkg/*.bom - BOMs for other installed packages  

SEE ALSO

bom(5), lsbom(8), showmods(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:23:31 GMT, March 25, 2025